<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Basic ComboGrid - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2>Basic ComboGrid</h2>
	<p>Click the right arrow button to show the DataGrid.</p>
	<div style="margin:20px 0"></div>
	<select class="easyui-combogrid" style="width:200px" data-options="
			panelWidth: 500,
			idField: 'id',
			textField: 'nome',
			url: 'http://localhost/stanyslaul/json.php?nomeTabelaJSON=snb_pessoa',
			method: 'get',
			columns: [[
				{field:'id',title:'ID'},
				{field:'cnpj_cpf',title:'Cnpj Cpf'},
				{field:'id_tp_pessoa',title:'Tp Pessoa',align:'center'},
				{field:'nome',title:'Nome'},
				{field:'dt_nascimento',title:'Dt Nascimento'},
				{field:'sexo',title:'Sexo'},
				{field:'img_foto',title:'Foto'},
                                {field:'rg',title:'RG'},
				{field:'somente_teste',title:'Somente Teste'}
			]],
			fitColumns: true
		">
	</select>
</body>
</html>